# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

#SRC_PATH		:= ../../../../../src

SRC_PATH		:= ./src
LOCAL_MODULE    := libApplication3D
LOCAL_CFLAGS    := -Werror -std=c++11

LOCAL_SRC_FILES := $(SRC_PATH)/Application3D_jni.cpp\
                    $(SRC_PATH)/Application3D.cpp\
                    $(SRC_PATH)/CZGeometry.cpp\
                    $(SRC_PATH)/CZMat4.cpp\
                    $(SRC_PATH)/CZMaterial.cpp\
                    $(SRC_PATH)/CZMaterialLib.cpp\
                    $(SRC_PATH)/CZObjFileParser.cpp\
                    $(SRC_PATH)/CZObjModel.cpp\
                    $(SRC_PATH)/CZShader.cpp\
                    $(SRC_PATH)/CZUtil.cpp

LOCAL_LDLIBS    := -llog -lGLESv2 -landroid -ljnigraphics

include $(BUILD_SHARED_LIBRARY)
